import { RouteRecordRaw } from 'vue-router';

export default {
	path: '/',
	name: 'layout',
	redirect: '/home',
	component: () => import('@/layout/index.vue'),
	meta: {
		role: ['common', 'admin']
	},
	children: [
		{
			path: '/home',
			name: 'home',
			component: () => import('@/views/home/index.vue'),
			meta: {
				role: ['common', 'admin']
			}
		}
	]
} as RouteRecordRaw;
